package org.example.core.enums;

/**
 * 响应枚举类
 */
public enum ResultEnum {
    SUCCESS("200","操作成功"),
    FAILURE("500","操作失败");

    private String code ;
    private String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
